package com.example.studyroom.Entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

@Accessors(chain = true)
@Data
@TableName(value ="StudyRoom")
public class StudyRoom {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String roomName;
    private int capacity;
    private String facilities;
    private String adminName;// 关联管理员名称
}
